<template>
  <div class="madp-crm-detail">
    <div class="info">
      <div class="info-item" v-for="(item, idx) in infoList" :key="idx">
        <div class="left-label">{{ item.name }}：</div>
        <div class="right-text">{{ item.value || '--' }}</div>
      </div>
    </div>
    <back-btn />
  </div>
</template>
<script>
import backBtn from '@/components/back-btn.vue'
export default {
  components: { backBtn },
  data() {
    return {
      infoList: []
    }
  },
  created() {
    this.infoList = this.$route.query.infoList
  },
  mounted() {},
  methods: {}
}
</script>
<style scoped lang='scss'>
.madp-crm-detail {
  padding: 16px;
  background-color: #fcfcfc;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  .info {
    padding: 10px 16px;
    background: #ffffff;
    box-shadow: 0px 3px 6px 0px rgba(181, 181, 181, 0.16);
    border-radius: 8px;
    .info-item {
      display: flex;
      padding: 13px 0;
      box-shadow: inset 0px -1px 0px 0px rgba(44, 44, 44, 0.1);
      .left-label {
        width: 100px;
        font-size: 15px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(44, 44, 44, 0.8);
        line-height: 21px;
      }
      .right-text {
        font-size: 15px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #2c2c2c;
        line-height: 21px;
      }
      &:last-child {
        box-shadow: none;
      }
    }
  }
}
</style>